package com.springBoot.repository;

import com.springBoot.entity.FieldsEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FieldsRepository {

    public Integer insert(FieldsEntity fieldsEntity);

    public Integer update(FieldsEntity fieldsEntity);

    public Integer delete(FieldsEntity fieldsEntity);

    public List<FieldsEntity> selectByParams(FieldsEntity fieldsEntity);

    public FieldsEntity selectForUpdate(FieldsEntity fieldsEntity);

    public Integer batchDelete(FieldsEntity fieldsEntity);
}
